package com.tlw.practice.tlw.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table(name = "t_ru_update_event")
public class AuditEntity {
    @Id
    public String eventId;

    public Integer version;              // 版本号

    public String operationType;          // 操作类型

    public String objectId;            // 源数据表主键

    public String fieldName;           // 修改的源数据表的字段名

    public String fieldValue;      // 该字段的值
}
